Ext.define('BM.view.trade.TokenCheckOut', {
    extend: 'Ext.window.Window',
    alias : 'widget.tokencheckout',
    title : '宾客结帐',
    layout: 'fit',
    height: 400,
    width : 600,
    autoShow: true,
    initComponent: function() {
        this.items = [{
        	xtype:'panel',
        	layout: 'border',
        	items:[
        	{
        	 region: 'north',
        	 margins: '5 0 2 0',
        	 height:80,
        	 items:[]
        	},{
        	 region: 'center',
        	 margins: '2 0 2 0',
        	 height:80,
        	 items:[]
        	},{
        	 region: 'south',
        	 margins: '2 0 2 0',
        	 height:200,
        	 items:{xtype:'costdetaillist'}
        	}
        	]
        
        }
        ];

        this.buttons = [
            {
                text: '结账',
                action: 'save'
            },
            {
                text: '取消',
                scope: this,
                handler: this.close
            }
        ];

        this.callParent(arguments);
    }
});